package com.jic.interaction.JDVOP.common.enums;

/**
 * 订单类别
 */
public enum OrderTypeEnum {
        ORDER_TYPE_GENERAL_GOODS(1,"普通商品"),
        ORDER_TYPE_LARGE_APPLIANCE(2,"大家电"),
        ORDER_TYPE_GIFT_CARD(3,"实物礼品卡"),
        ORDER_TYPE_AFTER_SALE(4,"售后换新单"),
        ORDER_TYPE_PRODUCERS_SENT_STRAIGHT(5,"厂家直送订单"),
        ORDER_TYPE_RBPORDER(6,"FBP订单"),
        ORDER_TYPE_FRESH(7,"生鲜"),
        ORDER_TYPE_ELECTRONIC_CARD(20,"电子卡"),
        ORDER_TYPE_AIR_TICKET(21,"机票"),
        ORDER_TYPE_HOTEL(22,"酒店"),
        ORDER_TYPE_CONTRACT_CARD(23,"合约机号卡"),
        ORDER_TYPE_RAILWAY_TICKET(24,"火车票[@文祥：更新新订单类型；父单子单的订单类型形成规则。特殊说明虚拟订单，虚拟订单通常有专门的查询接口]")
    ;
    private Integer code;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    OrderTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
